package com.dhcc.cdc.sys.dao;

import com.baomidou.mybatisplus.plugins.Page;
import com.dhcc.cdc.sys.entity.ConfigurationEntity;
import com.dhcc.core.framework.base.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 配置信息
 * 
 * @ClassName: ConfigurationMapper
 * @Description: TODO
 * @author jumper
 * @date 2021-04-16 17:11:56
 */
public interface ConfigurationMapper  extends BaseMapper<ConfigurationEntity> {
	
    List<ConfigurationEntity> list(@Param("map")Map<String, Object> map);
    List<ConfigurationEntity> page(@Param("page") Page<ConfigurationEntity> page,@Param("map")Map<String, Object> map);

    ConfigurationEntity selectByProductCodeAndCode(@Param("productId") Long productId, @Param("code") String code);
    ConfigurationEntity selectByProductCodeAndCodeAndHospId(@Param("productId") Long productId, @Param("code") String code, @Param("hospitalId") Long hospitalId);
}
